<template>
    <div class="nav-container home-page">
      <nav-header v-on:clickedShowMenu="showMenu"></nav-header>
<!--      solt 插槽-->
      <slot name="navbody"></slot>
    </div>
</template>

<script>
  import NavHeader from '../components/navHeader'
    export default {
        data () {
          return{

          }
        },
      components:{
          NavHeader:NavHeader
      },
      methods: {
          showMenu () {
            this.$emit("showMenuOverlay")
          }
      }
    }
</script>


